﻿<Window x:Class="LaunchPad.Core.Dialogs.StartShowDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Start Show" Height="335" Width="725" WindowStyle="None" ResizeMode="NoResize">
    <Window.Background>
        <DrawingBrush TileMode="Tile"  Stretch="None" ViewportUnits="Absolute" Viewport="0,0,36,36" >
            <DrawingBrush.Drawing>
                <DrawingGroup>
                    <GeometryDrawing Geometry="M0,36 L36,0" Brush="Red">
                        <GeometryDrawing.Pen>
                            <Pen Brush="Red" Thickness="12" />
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="M0,0 L0.1,0.1" Brush="Red" >
                        <GeometryDrawing.Pen>
                            <Pen Brush="Red" Thickness="12" EndLineCap="Square" />
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                    <GeometryDrawing Geometry="M36,36 L35.9,35.9" Brush="Red">
                        <GeometryDrawing.Pen>
                            <Pen Brush="Red" Thickness="12" EndLineCap="Square" />
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>
                </DrawingGroup>
            </DrawingBrush.Drawing>
        </DrawingBrush>
    </Window.Background>
    <Grid>
        <Border BorderBrush="Black" BorderThickness="2"  Margin="48,12,49,0" VerticalAlignment="Top" HorizontalAlignment="Stretch" >
            <TextBlock Text="CONFIRM SHOW START" Height="70" FontSize="48" TextWrapping="Wrap" HorizontalAlignment="Stretch"
               FontFamily="Segoe UI" FontWeight="Bold" TextAlignment="Center"
               Background="#F0FFFFFF" />
        </Border>
        
        <Border BorderBrush="Black" BorderThickness="2" Margin="50,100,49,0" VerticalAlignment="Top" HorizontalAlignment="Stretch" >
            <TextBlock Text="THIS WILL SET REMOTE ARM AND START THE SHOW.  YOU MUST ENSURE DEVICES ARE ARMED LOCALLY!" Height="62" FontSize="22" TextWrapping="Wrap"
               FontFamily="Segoe UI" FontWeight="Bold" TextAlignment="Center"
               Background="#F0FFFFFF" />
        </Border>
        <Button Content="Start" Height="68" HorizontalAlignment="Left" Margin="48,0,0,12" Name="startButton" VerticalAlignment="Bottom" Width="112" FontSize="32" Click="StartButtonClick" />
        <Button Content="ABORT" Height="68" HorizontalAlignment="Right" Margin="0,0,49,12" Name="abortButton" VerticalAlignment="Bottom" Width="140" FontSize="32" IsDefault="True" IsCancel="True" Click="AbortButtonClick" FontWeight="Bold" />
        <Border Name="countdownBorder" Height="95" Margin="310,190,310,0" VerticalAlignment="Top" BorderBrush="Black" Visibility="Hidden" BorderThickness="1">
            <TextBlock Name="countdownTextBlock" VerticalAlignment="Stretch" FontSize="64" FontFamily="Segoe UI" TextAlignment="Center" FontWeight="Bold" Text="10">
              <TextBlock.Background>
                    <RadialGradientBrush  GradientOrigin="0,.1" Center="0,.3" RadiusX="10">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="#D0DA4040" Offset="1" />
                    </RadialGradientBrush>
                </TextBlock.Background>
            </TextBlock>
        </Border>
    </Grid>
</Window>
